package org.dxy.types.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum WorkOrderStatusEnum {
    NEW("new", "未开始"),
    IN_PROGRESS("inProgress", "进行中"),
    PAUSED("paused", "已暂停"),
    COMPLETED("completed", "已完成"),
    CANCELED("canceled", "已取消");

    private final String key;         // 用于标识状态的代码（小写）
    private final String description;  // 状态的描述
}